package com.zhida.smartcontrol.pagectrl.lampmanager;

import com.zhida.smartcontrol.common.bean.LampSwitchBean;
import com.zhida.smartcontrol.mvp.BasePresenter;
import com.zhida.smartcontrol.mvp.BaseView;

import java.util.List;

/**
 * author: tanjianpei
 * date: 2019/10/17 017 14:47
 * description:
 */
public class LampManagerContract {
    interface View extends BaseView {

        void showSingleList(List<LampSwitchBean> singleList);

        void showDoubleList(List<LampSwitchBean> nbDbChildSwitchList);
    }

    interface Presenter extends BasePresenter<View> {
        void requestList(String id, boolean showLoading);
    }
}
